home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr16 / tcmd3210.zip / TCMD32.DOC < prev    next >
Text File  |  1995-01-26  |  65KB  |  1,514 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                                     Take Command/32
  9.  
  10.                                      for Windows NT
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.                           Introduction and Installation Guide
  18.  
  19.  
  20.  
  21.  
  22.  
  23.                                       Developed By
  24.                                 Rex Conn and Tom Rawson
  25.  
  26.                                     Documentation By
  27.                        Hardin Brothers, Tom Rawson, and Rex Conn
  28.  
  29.  
  30.  
  31.  
  32.                                       Published By
  33.  
  34.                                     JP Software Inc.
  35.                                      P.O. Box 1470
  36.                                 East Arlington, MA 02174
  37.                                          U.S.A.
  38.                                      (617) 646-3975
  39.                                    fax (617) 646-0904
  40.  
  41.  
  42.  
  43.  
  44.  
  45.                                   ACKNOWLEDGMENTS
  46.  
  47.  
  48.              We couldn't produce a product like Take Command without the
  49.              dedication and quality work of many people.  Our thanks to:
  50.  
  51.                   JP Software Staff:  Mike Bessy, Bobby Kelley, Ellen
  52.                   Stone, Marcella Turner, Misty White.
  53.  
  54.                   Beta Test Support:  David Moskowitz and the sysops of
  55.                   CompuServe's CONSULT forum.
  56.  
  57.                   Online Support:  Brian Miller and Tess Heder of Channel 1
  58.                   BBS; Don Watkins of CompuServe's IBMNET.
  59.  
  60.                   Beta Testers:  We can't list all of our beta testers
  61.                   here.  A special thanks to all of you who helped make
  62.                   Take Command elegant, reliable, and friendly!
  63.  
  64.  
  65.  
  66.              The following tools are used in creating and maintaining Take
  67.              Command:
  68.  
  69.                   Compilers:       Microsoft Visual C++, Microsoft Macro
  70.                                    Assembler
  71.                   Editors:         Edix (Emerging Technology), Brief
  72.                                    (Solution Systems)
  73.                   Version Control: PVCS (Intersolv)
  74.                   Documentation:   Microsoft Word for Windows with Adobe
  75.                                    Type Manager
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.              Copyright 1995, JP Software Inc., All Rights Reserved.  "Take
  84.              Command," "4OS2," and "JP Software" are trademarks and "4DOS"
  85.              is a registered trademark of JP Software Inc.  Other product
  86.              and company names are trademarks of their respective owners.
  87.  
  88.                                                                        1-95
  89.                                                                    Contents
  90.         -------------------------------------------------------------------
  91.  
  92.  
  93.  
  94.         Contents
  95.  
  96.  
  97.         Introduction...............................................1
  98.             How to Use This Manual.................................3
  99.             Customer Service and Technical Support.................4
  100.  
  101.         Chapter 1 / Installation...................................5
  102.             Installing Take Command................................5
  103.             Changes Made During Installation.......................6
  104.             Manual Installation....................................6
  105.             Uninstalling Take Command..............................8
  106.  
  107.         Chapter 2 / Configuration.................................10
  108.             Creating and Configuring Take Command Items...........10
  109.             Take Command Startup Options..........................11
  110.             Configuring Take Command..............................12
  111.             TCSTART, TCEXIT, and Startup Commands.................13
  112.  
  113.         Chapter 3 / Using Take Command............................16
  114.             Using a Windows Command Line..........................16
  115.             Take Command and Windows NT...........................17
  116.                 Take Command and Windows Colors...................18
  117.             Character-Mode Applications...........................18
  118.             Take Command, 4DOS, and 4DOS for Windows NT...........19
  119.                 Using 4DOS Batch Files and Aliases................20
  120.  
  121.         Index.....................................................23
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.         -------------------------------------------------------------------
  145.         Copr. 1995 JP Software Inc.   Take Command/32 Intro./Inst. Guide  i
  146.                                                                INTRODUCTION
  147.         -------------------------------------------------------------------
  148.  
  149.  
  150.  
  151.         INTRODUCTION
  152.  
  153.  
  154.         Welcome, and thanks for purchasing Take Command!
  155.  
  156.         We developed Take Command/32 to bring the power and convenience of
  157.         our popular 4DOS and 4OS2 programs to Windows NT users.  Whether
  158.         you are a computer novice or an experienced user, Take Command/32
  159.         will help you get the most out of your Windows NT system.
  160.  
  161.         You're probably already familiar with graphical applications
  162.         running under Windows NT, and with the command line, but you may
  163.         not be used to seeing them combined in one product.  Most Windows
  164.         and Windows NT applications offer limited command-line capability
  165.         at best, and most command-line utilities aren't designed for a
  166.         graphical environment like Windows NT.
  167.  
  168.         We designed Take Command to give you the best of both worlds.
  169.         You'll probably find it most useful when you need to perform tasks
  170.         like managing your hard disk, scripting a series of steps with an
  171.         alias or batch file, or starting applications under Windows.  There
  172.         are graphical utilities that perform some of these tasks, but often
  173.         you may find it more convenient or productive to perform them from
  174.         the command line. Take Command also looks and feels like the other
  175.         Windows programs you use, unlike a character-mode session.
  176.  
  177.         Take Command offers a host of features that couldn't exist at all
  178.         in a character-mode command-line utility.  For example you can pop
  179.         up simple dialogs from a batch file, pass keystrokes to Windows and
  180.         Windows NT applications, use a Windows-based dialog to find files
  181.         or text on any of your disks, or configure Take Command with
  182.         dialogs instead of editing an .INI file.
  183.  
  184.         If you are familiar with the traditional command prompt, or with
  185.         4DOS, 4OS2, or 4DOS for Windows NT, you won't have to change your
  186.         computing habits or unlearn anything to use Take Command.  If you
  187.         know how to use commands to display a directory, copy a file, or
  188.         start an application program, you already know how to use Take
  189.         Command.  And if you are a 4DOS or 4DOS for Windows NT user, you
  190.         already know how to use most of the advanced features that we have
  191.         built into Take Command.  You can even use many of your 4DOS/NT
  192.         batch files with Take Command (see page 20 or the online help for
  193.         tips about making batch files work properly in both environments).
  194.  
  195.         Once you have Take Command installed, you can learn its new
  196.         features at your own pace.  Relax, enjoy Take Command's power, and
  197.         browse through the manuals occasionally.  Press the F1 key whenever
  198.         you need help.  Take Command will soon become an essential part of
  199.         your computer, and you'll wonder how you ever got along without it.
  200.  
  201.         -------------------------------------------------------------------
  202.         Copr. 1995 JP Software Inc.   Take Command/32 Intro./Inst. Guide  1
  203.                                                                INTRODUCTION
  204.         -------------------------------------------------------------------
  205.  
  206.  
  207.         We are constantly working to improve Take Command.  If you have
  208.         suggestions for features or commands that we should include in the
  209.         next version, or any other way we could improve our product, please
  210.         let us know.  Many of the features in Take Command were suggested
  211.         by our users.  We can't promise to include every suggestion, but we
  212.         really do appreciate and pay attention to your comments.
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.         -------------------------------------------------------------------
  259.         Copr. 1995 JP Software Inc.   Take Command/32 Intro./Inst. Guide  2
  260.                                                                INTRODUCTION
  261.         -------------------------------------------------------------------
  262.  
  263.  
  264.  
  265.  
  266.         How to Use This Manual
  267.  
  268.              This manual is only one part of the documentation that you
  269.              will need for Take Command.  It introduces the product and
  270.              will help you install it correctly on your computer.  It will
  271.              also help you understand some of the terms and concepts that
  272.              you will need to know to get the most from Take Command.
  273.  
  274.              JP Software also offers a version of Take Command for Windows
  275.              3.1, and may produce versions for other platforms in the
  276.              future.  Except where we specifically say otherwise, in this
  277.              manual the terms "Take Command" and "Take Command/32" are used
  278.              interchangeably to refer to the 32-bit version of Take Command
  279.              for Microsoft Windows NT and other Win32-compatible platforms.
  280.  
  281.              If you are a 4DOS/NT user, or you use the Windows NT "MS-DOS
  282.              Prompt" icon to do command-line work, be sure to read Chapter
  283.              3 before using Take Command.  It will give you a feel for some
  284.              of the differences between a character-mode command processor
  285.              and a Windows-based one.
  286.  
  287.              Take Command/32 includes complete online help for all of its
  288.              built-in commands.  The online help provides information about
  289.              the commands and features of Take Command in an electronic
  290.              form which you can access quickly.  See page 14 for more
  291.              details about using the online help.
  292.  
  293.              The final part of our documentation is the separate Reference
  294.              Manual for the Windows and Windows NT versions of Take
  295.              Command.  It contains all of the information in the online
  296.              help, in printed form.  The Reference Manual is sometimes sold
  297.              separately from Take Command, so you may not find it in your
  298.              package.  If that's the case, use this manual to get started,
  299.              and use the online help for reference information.
  300.  
  301.              You should start with this introductory manual to install Take
  302.              Command on your system.  Once you have successfully installed
  303.              Take Command, you can move back and forth between this manual
  304.              and the online help and Reference Manual.
  305.  
  306.              For the sake of clarity, we have chosen not to indicate each
  307.              of the dozens of places in this manual where you can refer to
  308.              the Reference Manual or online help for additional
  309.              information.  If you see a reference here to a command, the
  310.              initialization file TCMD32.INI, or any Take Command feature,
  311.              you can be sure that detailed information on that topic is
  312.              available in the reference material.
  313.  
  314.  
  315.         -------------------------------------------------------------------
  316.         Copr. 1995 JP Software Inc.   Take Command/32 Intro./Inst. Guide  3
  317.                                                                INTRODUCTION
  318.         -------------------------------------------------------------------
  319.  
  320.  
  321.              Files distributed with Take Command/32 cover important
  322.              additional information beyond what's included in the manuals.
  323.              README.DOC contains general notes, highlights of the latest
  324.              release, and brief installation instructions for those
  325.              installing from a downloaded copy, and UPDATxx.DOC contains
  326.              detailed information for users with older versions on what has
  327.              changed in the latest release ("xx" is the version number).
  328.  
  329.              You will likely find some parts of the documentation too
  330.              simple or too technical for your tastes.  Unless you are
  331.              convinced that one of those sections holds just the
  332.              information you need for a specific task, feel free to skip to
  333.              the next part of the manual that is more to your liking.  You
  334.              can use almost every feature of Take Command without having to
  335.              worry about other features or commands.
  336.  
  337.  
  338.         Customer Service and Technical Support
  339.  
  340.              Technical support is available via public electronic support
  341.              conferences, private electronic mail, telephone, fax, and
  342.              mail.  For complete details, including a listing of electronic
  343.              support conferences, see the Support topic in the online help,
  344.              or your Reference Manual.
  345.  
  346.              Customer service is always available through the telephone and
  347.              fax numbers listed on the title page of this manual.  See your
  348.              Reference Manual or the online help for electronic mail
  349.              addresses for our Sales and Customer Service departments.
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.         -------------------------------------------------------------------
  373.         Copr. 1995 JP Software Inc.   Take Command/32 Intro./Inst. Guide  4
  374.                                                    CHAPTER 1 / INSTALLATION
  375.         -------------------------------------------------------------------
  376.  
  377.  
  378.  
  379.         CHAPTER 1 / INSTALLATION
  380.  
  381.  
  382.  
  383.         Installing Take Command
  384.  
  385.              To install Take Command you must run the INSTALL program on
  386.              your Take Command distribution disk.  INSTALL will copy the
  387.              files from the diskette to your hard disk, create a Windows
  388.              icon to run Take Command, and make any other changes necessary
  389.              for Take Command to run properly on your system.
  390.  
  391.              If you're installing a downloaded copy you will not have an
  392.              INSTALL program.  Instead, use the appropriate decompression
  393.              program (for example, PKUNZIP) to extract the files from your
  394.              download into a new directory.  Then follow the instructions
  395.              on page 6 to complete your installation.  If you are updating
  396.              from a previous version, check the README.DOC file for update
  397.              instructions.
  398.  
  399.              To begin the installation process, put the Take Command/32
  400.              distribution diskette in drive A.  (You can use drive B if you
  401.              prefer, in which case you should substitute "b" for "a" in the
  402.              instructions below.)  Use the Program Manager's File Run
  403.              option to enter the command:
  404.  
  405.                   a:install
  406.  
  407.              Then press the Enter key.
  408.  
  409.              Once the installation program has started, just follow the
  410.              instructions on the screen to install Take Command on your
  411.              system.  Use Express Installation for a quick and simple
  412.              installation with default settings, or use Custom Installation
  413.              for finer control over the installation process.
  414.  
  415.              You can exit from the installation program at any time by
  416.              pressing Esc, then pressing "Y" in response to the next
  417.              prompt.
  418.  
  419.              The Take Command files are contained in a special library file
  420.              on the distribution diskette.  You cannot simply copy the
  421.              files from the diskette onto your system.  You must use
  422.              INSTALL to extract and decompress the Take Command files even
  423.              if you want to perform a manual installation (see below), or
  424.              if you need to replace a damaged Take Command file on your
  425.              hard disk.
  426.  
  427.  
  428.  
  429.         -------------------------------------------------------------------
  430.         Copr. 1995 JP Software Inc.   Take Command/32 Intro./Inst. Guide  5
  431.                                                    CHAPTER 1 / INSTALLATION
  432.         -------------------------------------------------------------------
  433.  
  434.  
  435.              If you also have our DOS command processor, 4DOS, do not
  436.              install Take Command in the same directory as 4DOS.  Some file
  437.              names (for example README.DOC) are the same in both products,
  438.              and the files should be kept separate to avoid confusion.
  439.  
  440.  
  441.         Changes Made During Installation
  442.  
  443.              Some Windows installation programs make changes to your system
  444.              which are difficult to find or modify.  While the Take Command
  445.              installation program makes few such changes, we know you may
  446.              feel more comfortable knowing exactly what is done to your
  447.              system and Windows configuration when you install Take
  448.              Command.
  449.  
  450.              Take Command's installation program takes the following steps.
  451.              Step (1) is always performed once you select a drive and
  452.              directory.  Express Installation selects steps (2) through (4)
  453.              automatically.  Custom Installation asks you to confirm steps
  454.              (2) through (4) individually.
  455.  
  456.                   1)Copy all Take Command files to a hard disk directory
  457.                     of your choice.
  458.  
  459.                   2)Brand your copy of Take Command with your name and
  460.                     serial number.
  461.  
  462.                   3)Copy the CTL3D32.DLL file to the \WINNT\SYSTEM32
  463.                     directory, unless a newer version is already present
  464.                     in that directory.
  465.  
  466.                   4)Create a Program Manager group for Take Command, and
  467.                     add items to that group for Take Command itself and
  468.                     for the online documentation.
  469.  
  470.  
  471.         Manual Installation
  472.  
  473.              There is little difference between manual and automated
  474.              installation for Take Command.  The Custom Installation option
  475.              will query you before any files are copied or existing files
  476.              are deleted or modified, so there is no real advantage to
  477.              performing these steps manually.  However if you prefer a
  478.              manual installation, you can extract the Take Command files
  479.              using the Custom Installation option, then follow the
  480.              instructions below.
  481.  
  482.              You must use manual installation if you have a downloaded copy
  483.              of Take Command (for downloaded copies, see the README.DOC
  484.  
  485.  
  486.         -------------------------------------------------------------------
  487.         Copr. 1995 JP Software Inc.   Take Command/32 Intro./Inst. Guide  6
  488.                                                    CHAPTER 1 / INSTALLATION
  489.         -------------------------------------------------------------------
  490.  
  491.  
  492.              file for any installation or update instructions specific to
  493.              the version you downloaded).
  494.  
  495.              To install Take Command/32 manually, first extract the files
  496.              to a directory on your hard disk.  We recommend that you use a
  497.              new directory for Take Command/32.  It can be on any hard disk
  498.              drive, and you can use any valid directory name.  After the
  499.              files are extracted, use the Esc key to exit from the
  500.              installation program.
  501.  
  502.              Next, install CTL3D32.DLL.  CTL3D32 is a Microsoft library
  503.              which gives a 3-dimensional appearance to some elements of the
  504.              Windows NT display for programs (like Take Command) that use
  505.              it.  Use File Manager or a Windows DOS session to install
  506.              CTL3D32.DLL as follows:
  507.  
  508.                   * Check the date and time on the copy of CTL3D32.DLL
  509.                     that came with Take Command.  Then check your
  510.                     \WINNT\SYSTEM32 directory for the same file.
  511.  
  512.                   * If the version that came with Take Command is newer
  513.                     than the version in \WINNT\SYSTEM32, or if the file
  514.                     does not exist at all in \WINNT\SYSTEM32, then copy
  515.                     the newer version from the Take Command directory to
  516.                     the \WINNT\SYSTEM32 directory.  If the version in the
  517.                     \WINNT\SYSTEM32 directory is newer, leave it as-is.
  518.  
  519.                   * Delete the CTL3D32.DLL file from the Take Command
  520.                     directory.  This ensures that you do not have multiple
  521.                     copies of CTL3D32 on your system.  CTL3D32 only works
  522.                     properly if there is a single copy in the
  523.                     \WINNT\SYSTEM32 directory; if you have more than one
  524.                     copy you will receive an error when Take Command
  525.                     starts.
  526.  
  527.              Finally, use the following steps to create a Take Command item
  528.              in the Program Manager's Main group (you can use a different
  529.              group or create a new group if you prefer):
  530.  
  531.                   * Select the "Main" group.
  532.  
  533.                   * Select the Program Manager "File" menu.
  534.  
  535.                   * Select "New."
  536.  
  537.                   * Select "Program item."
  538.  
  539.                   * Enter "Take Command," or any other title you desire,
  540.                     in the Description field.
  541.  
  542.  
  543.         -------------------------------------------------------------------
  544.         Copr. 1995 JP Software Inc.   Take Command/32 Intro./Inst. Guide  7
  545.                                                    CHAPTER 1 / INSTALLATION
  546.         -------------------------------------------------------------------
  547.  
  548.  
  549.                   * Enter the full path and name for TCMD32.EXE in the
  550.                     Command Line field (for example,
  551.                     C:\TCMD32\TCMD32.EXE).
  552.  
  553.                   * Enter the directory in which you want the Take Command
  554.                     window to start (if any) in the Working Directory
  555.                     field.
  556.  
  557.                   * Click on "OK" to accept the entry.
  558.  
  559.              Take Command reads its configuration information from a file
  560.              named TCMD32.INI, normally stored in the Take Command
  561.              directory.  You can modify the first section of this file,
  562.              which begins with [TakeCommand], to configure Take Command to
  563.              meet your preferences; see page 12 for details.
  564.  
  565.  
  566.         Uninstalling Take Command
  567.  
  568.              We don't expect you to have trouble using Take Command, but we
  569.              know some people feel more comfortable knowing how to
  570.              uninstall a product as well as install it.  Or, you may need
  571.              to remove Take Command from one system to move it to another
  572.              system.
  573.  
  574.              To remove Take Command, just insert the distribution diskette,
  575.              start the INSTALL program as described on page 5, and select
  576.              the Uninstall Take Command option.  Uninstall will offer you
  577.              several options which "undo" the corresponding steps in the
  578.              installation procedure.  Complete Uninstall will take all of
  579.              the other steps automatically, and remove Take Command
  580.              entirely from your system.
  581.  
  582.              The Uninstall option will attempt to reverse the changes made
  583.              during installation.  However if you have removed files,
  584.              changed group or item names, or otherwise modified your system
  585.              configuration, then the program may not be able to complete
  586.              all of the steps automatically or successfully.  In this case
  587.              you will need to perform some of them manually.
  588.  
  589.              To uninstall Take Command manually, first delete CTL3D32.DLL
  590.              from the \WINNT\SYSTEM32 directory if you are certain it is
  591.              not in use by other applications (because CTL3D32 is used
  592.              fairly widely, in most cases you should not delete it).  If
  593.              you were using Take Command as your Windows shell there will
  594.              be a copy of TC32DLL.DLL in the same directory; you can delete
  595.              it as well.
  596.  
  597.              Use Program Manager to remove any Take Command groups and / or
  598.              items.
  599.  
  600.         -------------------------------------------------------------------
  601.         Copr. 1995 JP Software Inc.   Take Command/32 Intro./Inst. Guide  8
  602.                                                    CHAPTER 1 / INSTALLATION
  603.         -------------------------------------------------------------------
  604.  
  605.  
  606.              Finally, check the Take Command directory for any files you
  607.              placed there that you want to save.  Use File Manager or a DOS
  608.              session to delete the remaining files from the Take Command
  609.              directory, and remove the directory.
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.         -------------------------------------------------------------------
  658.         Copr. 1995 JP Software Inc.   Take Command/32 Intro./Inst. Guide  9
  659.                                                   CHAPTER 2 / CONFIGURATION
  660.         -------------------------------------------------------------------
  661.  
  662.  
  663.  
  664.         CHAPTER 2 / CONFIGURATION
  665.  
  666.  
  667.         This chapter explains how you can tune Take Command to make it as
  668.         efficient and as useful as possible in your computing environment.
  669.         If Take Command works the way you want it to after installation,
  670.         you can skip this chapter.  You may, however, want to skim this
  671.         material to see what options are available.
  672.  
  673.         This chapter explains how to set up Take Command items in your
  674.         Windows groups, using the Take Command startup command line and
  675.         startup batch files, and the basics of configuring Take Command.
  676.         For more details on all of these topics, including complete
  677.         reference information on the configuration options and TCMD32.INI,
  678.         see your Reference Manual or online help.
  679.  
  680.  
  681.         Creating and Configuring Take Command Items
  682.  
  683.              You will typically start Take Command/32 from an item in one
  684.              of the Program Manager groups on your Windows NT desktop.
  685.              Usually a single item is sufficient, but if you prefer you can
  686.              create multiple items to start Take Command with different
  687.              startup commands or options, or to run different batch files
  688.              or other commands.  You can use these items to run commonly-
  689.              used commands and batch files directly from the Windows NT
  690.              desktop.
  691.  
  692.              Each item or icon represents a different Take Command window.
  693.              Use the Properties screen for the item to set any necessary
  694.              command line parameters such as a command to be executed, any
  695.              desired switches, or the name and path for TCMD32.INI.  More
  696.              information on command line switches and options for Take
  697.              Command is included later in this section.
  698.  
  699.              For general information on creating and configuring Program
  700.              Manager items, see your Windows NT documentation.  To
  701.              configure a Take Command item, use the New selection on the
  702.              Program Manager's File menu to create a new item (see page 6
  703.              of this manual for a detailed example).  Use the Properties
  704.              selection on the File menu to adjust the configuration of an
  705.              existing item.
  706.  
  707.              When you configure a Take Command item, place the full path
  708.              and name for TCMD32.EXE in the Command Line field, and put any
  709.              startup options that you want passed to Take Command (e.g.,
  710.              the name of a startup batch file) after the TCMD32.EXE file
  711.              name.  For example:
  712.  
  713.  
  714.         -------------------------------------------------------------------
  715.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  10
  716.                                                   CHAPTER 2 / CONFIGURATION
  717.         -------------------------------------------------------------------
  718.  
  719.  
  720.                   Command Line:       C:\TCMD32\TCMD32.EXE C:\GO.BAT
  721.                   Working directory:  C:\
  722.  
  723.              You do not need to use the Change Icon button, because
  724.              TCMD32.EXE already contains an icon.
  725.  
  726.              When Take Command starts it automatically runs the optional
  727.              TCSTART batch file (see page 13).  You can use this file to
  728.              load aliases and environment variables and otherwise
  729.              initialize Take Command.
  730.  
  731.              You can also place the name of a batch file, internal or
  732.              external command, or alias at the end of the Command Line
  733.              field for any item (as shown in the example above).  The batch
  734.              file, command, or alias will be executed after TCSTART, but
  735.              before the first prompt is displayed.
  736.  
  737.  
  738.         Take Command Startup Options
  739.  
  740.              Each Windows NT program has a command line which can be used
  741.              to pass information to the program when it starts.  The
  742.              command line is entered in the Command Line field for each
  743.              item in a Program Manager group, and consists of the name of
  744.              the program to execute, followed by any startup options.
  745.  
  746.              The Take Command startup command line does not need to contain
  747.              any information.  When invoked with an empty command line,
  748.              Take Command will configure itself from the TCMD32.INI file
  749.              (see page 12), run TCSTART (see page 13), and then display a
  750.              prompt and wait for you to type a command.  However, you may
  751.              add information to the startup command line that will affect
  752.              the way Take Command operates.
  753.  
  754.              Take Command recognizes three optional fields on the command
  755.              line.  If you use more than one of these fields, their order
  756.              is important.  The syntax for the command line is:
  757.  
  758.                   [@d:\path\inifile] [//iniline]... [[/C] command]
  759.  
  760.              In the descriptions below, d: means a drive letter and \path
  761.              means a subdirectory name.
  762.  
  763.                   @d:\path\inifile:  This option sets the path and name of
  764.                   the TCMD32.INI file.  You do not need this option if you
  765.                   aren't using a TCMD32.INI file, or if the file is named
  766.                   TCMD32.INI and is stored either in the same directory as
  767.                   TCMD32.EXE, or in the Windows NT directory.  This option
  768.                   is most useful if you want to start a Take Command window
  769.                   with a specific and unique .INI file.
  770.  
  771.         -------------------------------------------------------------------
  772.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  11
  773.                                                   CHAPTER 2 / CONFIGURATION
  774.         -------------------------------------------------------------------
  775.  
  776.  
  777.                   //iniline:  This option tells Take Command to treat the
  778.                   text appearing between the // and the next space or tab
  779.                   as a TCMD32.INI directive.  The directive should be in
  780.                   the same format as a line in the [TakeCommand] section of
  781.                   TCMD32.INI, but it may not contain spaces, tabs, or
  782.                   comments.  This option overrides any corresponding
  783.                   directive in your TCMD32.INI file.  It is a convenient
  784.                   way to send Take Command one or two simple directives
  785.                   without modifying or creating a new TCMD32.INI file.
  786.  
  787.                    [/C] command:  This option tells Take Command to run a
  788.                   command when it starts.  The command will be run after
  789.                   TCSTART has been executed and before any command prompt
  790.                   is displayed.  It can be any valid internal or external
  791.                   command, batch file, or alias; you may include multiple
  792.                   commands by using the command separator.  All other
  793.                   startup options must be placed before the command,
  794.                   because Take Command will treat characters after the
  795.                   command as part of the command and not as additional
  796.                   startup options.
  797.  
  798.                   When the command is preceded by a /C, Take Command will
  799.                   execute the command and then exit and return to the
  800.                   parent program or the Windows desktop without displaying
  801.                   a prompt.
  802.  
  803.                   See page 14 for details on using the command option to
  804.                   run a startup batch file.
  805.  
  806.  
  807.         Configuring Take Command
  808.  
  809.              Take Command's configuration is controlled through a file of
  810.              initialization information called TCMD32.INI.  This file is
  811.              created during installation, and is stored in the same
  812.              directory as TCMD32.EXE.  (You can move TCMD32.INI to the
  813.              Windows NT directory if you wish; Take Command will find it in
  814.              either location.)
  815.  
  816.              Take Command reads TCMD32.INI each time it starts, and
  817.              configures itself accordingly.
  818.  
  819.              Many of the TCMD32.INI options can be set directly from within
  820.              Take Command using the configuration dialogs, which are
  821.              accessible from the Configure Take Command selection on the
  822.              Options menu.  There are several pages of options, selectable
  823.              from the list box on the left side of the dialog.
  824.  
  825.              When you use the configuration dialogs, be sure to click the
  826.              Save button to save your changes in TCMD32.INI.  The OK button
  827.  
  828.         -------------------------------------------------------------------
  829.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  12
  830.                                                   CHAPTER 2 / CONFIGURATION
  831.         -------------------------------------------------------------------
  832.  
  833.  
  834.              will save the configuration changes for the current session,
  835.              but will not record them in TCMD32.INI for use in future
  836.              sessions.  The help text available from the Help button
  837.              explains which specific TCMD32.INI directive is set by each
  838.              item in the dialog.
  839.  
  840.              TCMD32.INI is divided into sections like other Windows .INI
  841.              files.  Each section begins with a section name in square
  842.              brackets, for example:
  843.  
  844.                   [Fonts]
  845.  
  846.              The options you can set in TCMD32.INI are all in the
  847.              [TakeCommand] section, which is normally the first one in the
  848.              file.  This is the section modified by the configuration
  849.              dialogs.  Take Command maintains all other sections of
  850.              TCMD32.INI itself; you should not modify them unless you are
  851.              instructed to do so by our support personnel.
  852.  
  853.              See the Reference Manual or the TCMD32.INI topic in the online
  854.              help for complete details on the format and meaning of the
  855.              directives used in the [TakeCommand] section of TCMD32.INI.
  856.              Advanced Directives and Key Mapping Directives must be entered
  857.              manually (see below).  Most other directives are accessible
  858.              from corresponding items in the configuration dialogs.
  859.  
  860.              If you prefer manual editing, or you want to enter a directive
  861.              which cannot be set from the configuration dialogs, you can
  862.              edit TCMD32.INI with Windows Notepad or any similar ASCII text
  863.              editor.  Be sure to edit only the [TakeCommand] section.
  864.  
  865.              Take Command will not automatically re-read TCMD32.INI when
  866.              you edit it manually.  For manual changes to take effect, you
  867.              must exit Take Command and restart it.
  868.  
  869.  
  870.         TCSTART, TCEXIT, and Startup Commands
  871.  
  872.              Take Command executes two batch files automatically:  TCSTART
  873.              is run whenever Take Command starts, and TCEXIT is run
  874.              whenever Take Command exits.  TCSTART and TCEXIT can be .BAT,
  875.              .CMD, or .BTM files.  TCSTART gives you a convenient way to
  876.              load aliases and environment variables, and otherwise
  877.              initialize Take Command.
  878.  
  879.              If Take Command is started with the [/C] command option (see
  880.              page 11), TCSTART is executed before the command.
  881.  
  882.              See the online help or your Reference Manual for more
  883.              information on TCSTART and TCEXIT.
  884.  
  885.         -------------------------------------------------------------------
  886.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  13
  887.                                                   CHAPTER 2 / CONFIGURATION
  888.         -------------------------------------------------------------------
  889.  
  890.  
  891.              To run a specific startup batch file or other command when a
  892.              particular Take Command item is started, include the batch
  893.              file or command name (with a path, if the file is not in the
  894.              startup directory) as the last item in the Command Line field.
  895.              The batch file or command will be executed after any TCSTART
  896.              file but before the first prompt is displayed.
  897.  
  898.              You can use this capability to run a specific batch file or
  899.              command for a particular item (as opposed to TCSTART, which is
  900.              run every time Take Command starts).  When you set up a batch
  901.              file or command to run in this way you are using the command
  902.              startup option (see page 11).
  903.  
  904.              For example, to run C:\STARTUP.BAT when the item starts:
  905.  
  906.                   Command Line:       C:\TCMD\TCMD32.EXE STARTUP.BAT
  907.                   Working directory:  C:\
  908.  
  909.              To execute an internal or external command, an alias, or a
  910.              batch file and then exit (return to the desktop) when it is
  911.              done, place /C command (rather than just command) as the last
  912.              item in the Parameters field.  For example:
  913.  
  914.                   Command Line:       D:\TCMD\TCMD32.EXE /C TEST.BTM
  915.                   Working directory:  C:\
  916.  
  917.  
  918.         Take Command Help
  919.  
  920.              Complete online help for all Take Command commands and
  921.              features is provided with your copy of Take Command.  Help is
  922.              invoked with the HELP command, the F1 key, or the Help menu on
  923.              the menu bar.
  924.  
  925.              When you start the help system, Take Command opens a new
  926.              window to run the standard Windows NT help program.  The help
  927.              program displays the help text and lets you browse through it.
  928.  
  929.              You can keep the help window on the screen and return to the
  930.              Take Command window, switching between the two as needed.
  931.              This may be useful when you are writing a batch file, working
  932.              on a complex command, or experimenting with Take Command.
  933.  
  934.              In order for the Take Command help system to work properly,
  935.              the help file, TCMD32.HLP, must be in the same directory as
  936.              TCMD32.EXE.
  937.  
  938.              The Take Command installation program sets up a separate item
  939.              for Take Command help so that you can load the help file
  940.  
  941.  
  942.         -------------------------------------------------------------------
  943.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  14
  944.                                                   CHAPTER 2 / CONFIGURATION
  945.         -------------------------------------------------------------------
  946.  
  947.  
  948.              directly.  To create a similar item manually, use a command
  949.              line like this:
  950.  
  951.                   Command Line:  WINHELP C:\TCMD32\TCMD32.HLP
  952.  
  953.              (Change the drive and path to reflect the location of Take
  954.              Command on your system.)
  955.  
  956.              Take Command also supports the /? switch to display help for
  957.              any command.  Using /? will display help for the command using
  958.              the Windows help system.  For example, to obtain help on the
  959.              COPY command you could use either of these commands:
  960.  
  961.                   c:\> help copy
  962.                   c:\> copy /?
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.         -------------------------------------------------------------------
  1000.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  15
  1001.                                              CHAPTER 3 / Using Take Command
  1002.         -------------------------------------------------------------------
  1003.  
  1004.  
  1005.  
  1006.         CHAPTER 3 / Using Take Command
  1007.  
  1008.  
  1009.         Take Command works like any other Windows NT application or
  1010.         utility, and most of the time you won't need to make any special
  1011.         adjustments for it.  However, as you learn to use Take Command you
  1012.         may want to understand in more detail how it interacts with
  1013.         Windows, Windows applications, and DOS applications.
  1014.  
  1015.         The information in this chapter gives you an overview of these
  1016.         topics; most are covered in more detail in the Reference Manual or
  1017.         online help.  This chapter also discusses using 4DOS and 4DOS/NT
  1018.         batch files and aliases under Take Command.
  1019.  
  1020.  
  1021.         Using a Windows Command Line
  1022.  
  1023.              Take Command is a new environment that lets you perform tasks
  1024.              easily under Windows.  You can use it to execute commands,
  1025.              start applications, and perform other work at the command
  1026.              line.
  1027.  
  1028.              In the past you may have accomplished some of these tasks with
  1029.              4DOS for Windows NT, JP Software's replacement character-mode
  1030.              command processor for Windows NT.  Or you may have used an
  1031.              "MS-DOS Prompt" session to run the default command processor
  1032.              (CMD.EXE) under Windows NT.
  1033.  
  1034.              In either case --- and especially if you are an experienced
  1035.              user of 4DOS or 4DOS for Windows NT --- you'll find plenty of
  1036.              familiar features in Take Command.  You'll also find a lot
  1037.              that's new or different.
  1038.  
  1039.              While Take Command includes most of the command-line, batch
  1040.              file, and other capabilities provided by 4DOS for Windows NT,
  1041.              and goes well beyond those provided by CMD.EXE, the Windows NT
  1042.              environment places some limitations on how Take Command
  1043.              operates.
  1044.  
  1045.              These limitations mostly affect the use of external programs,
  1046.              especially character-mode and DOS programs.  This topic is
  1047.              covered in detail beginning on page 18.
  1048.  
  1049.              There are some other minor differences between using Take
  1050.              Command and using a 4DOS/NT (or CMD.EXE) session under Windows
  1051.              (for example, some keystrokes are interpreted differently to
  1052.              conform more closely to Windows conventions).  There are also
  1053.              some considerations when running 4DOS for Windows NT batch
  1054.  
  1055.  
  1056.         -------------------------------------------------------------------
  1057.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  16
  1058.                                              CHAPTER 3 / Using Take Command
  1059.         -------------------------------------------------------------------
  1060.  
  1061.  
  1062.              files or aliases in Take Command/32.  All of these differences
  1063.              are covered in more detail beginning on page 19.
  1064.  
  1065.              Take Command also offers a wide range of new Windows NT-
  1066.              related features which are not available in 4DOS/NT or CMD.EXE
  1067.              sessions, including:
  1068.  
  1069.                   * A built-in scrollback buffer that lets you look back
  1070.                     through the output from past commands.
  1071.  
  1072.                   * A standard Windows menu bar for access to many
  1073.                     commonly used Take Command features.
  1074.  
  1075.                   * A status bar showing memory load, date, time, and
  1076.                     keyboard state.
  1077.  
  1078.                   * A customizable tool bar that gives you quick access to
  1079.                     commands and applications.
  1080.  
  1081.                   * Windows NT dialogs (accessible from the Take Command
  1082.                     Configuration and Utilities menus), for editing
  1083.                     environment variables, aliases, file descriptions, and
  1084.                     startup parameters.
  1085.  
  1086.                   * Direct access to Program Manager groups and items
  1087.                     through the Apps menu.
  1088.  
  1089.                   * High-speed, dialog-based file and text search (see
  1090.                     "Find Files / Text" on the Utilities menu).  The FFIND
  1091.                     command gives you the same capabilities at the Take
  1092.                     Command prompt.
  1093.  
  1094.                   * Commands like ACTIVATE, MSGBOX, QUERYBOX, and WINDOW
  1095.                     that allow you to use Windows NT features and control
  1096.                     Windows and Windows NT applications from your batch
  1097.                     files.
  1098.  
  1099.  
  1100.         Take Command and Windows NT
  1101.  
  1102.              Take Command/32 supports several Windows NT features which
  1103.              enhance the way it works with other applications.  The
  1104.              information below covers most of these features very briefly;
  1105.              for complete details, see the Reference Manual or the topics
  1106.              under the Take Command and Windows heading in the online help.
  1107.  
  1108.                   * You can use the Windows NT clipboard to copy text onto
  1109.                     the command line, or to transfer text from Take
  1110.                     Command to another application.
  1111.  
  1112.  
  1113.         -------------------------------------------------------------------
  1114.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  17
  1115.                                              CHAPTER 3 / Using Take Command
  1116.         -------------------------------------------------------------------
  1117.  
  1118.  
  1119.                   * Take Command will use Windows' File Associations like
  1120.                     Executable Extensions, to associate data files with
  1121.                     applications.
  1122.  
  1123.                   * Take Command can communicate with Program Manager to
  1124.                     determine what groups and applications to list on the
  1125.                     Apps menu.
  1126.  
  1127.                   * You can use the Windows NT Drag and Drop feature to
  1128.                     insert file names from other applications onto the
  1129.                     command line.
  1130.  
  1131.                   * Take Command can send messages to other Windows
  1132.                     applications using Dynamic Date Exchange (DDE).  You
  1133.                     can also use DDE to send commands to Take Command from
  1134.                     other applications.
  1135.  
  1136.              Take Command offers several methods for starting Windows
  1137.              applications, some of which go beyond what you may be used to
  1138.              when running programs from the character-mode command line.
  1139.              The search sequence for applications is also slightly
  1140.              different from some other platforms.  For complete details,
  1141.              see Starting Windows Applications in the online help.
  1142.  
  1143.  
  1144.              Take Command and Windows Colors
  1145.  
  1146.              You may occasionally find it convenient to run more than one
  1147.              copy of Take Command at a time.  If you do, and you change the
  1148.              background color in one Take Command window, the same color
  1149.              change will appear in the background of other Take Command
  1150.              windows as they become visible and are repainted on the
  1151.              screen.
  1152.  
  1153.              This behavior is due to the internal design of Windows NT (and
  1154.              cannot be changed without significantly increasing the
  1155.              resources used by each Take Command session).  If you run
  1156.              multiple copies of Take Command at the same time, we recommend
  1157.              that you use the same background color for all copies to avoid
  1158.              unwanted visual effects.
  1159.  
  1160.  
  1161.         Character-Mode Applications
  1162.  
  1163.              When you start a DOS or character-mode program under Windows
  1164.              NT it runs in a "console session."  A console session displays
  1165.              a special type of window without a standard menu bar or other
  1166.              Windows NT features.  It typically uses 4DOS for Windows NT or
  1167.              CMD.EXE to perform command line tasks or start such programs.
  1168.  
  1169.  
  1170.         -------------------------------------------------------------------
  1171.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  18
  1172.                                              CHAPTER 3 / Using Take Command
  1173.         -------------------------------------------------------------------
  1174.  
  1175.  
  1176.              Take Command/32 starts Windows and Windows NT "graphical"
  1177.              applications in their own windows, just as if you had started
  1178.              the application directly from the desktop.  It also creates a
  1179.              console session to run DOS and Windows NT character mode
  1180.              applications.
  1181.  
  1182.              The console session connected to Take Command/32 is created
  1183.              when Take Command starts (this may cause a momentary flicker
  1184.              on your screen during the startup process).  A separate window
  1185.              is created for this session.  You can view this window at any
  1186.              time with the Alt-V key or the View Console selection on the
  1187.              Apps menu.  You can use Alt-V to return to the Take Command/32
  1188.              window, but only when the application in the console window
  1189.              has completed, and the input "focus" has returned to Take
  1190.              Command/32.
  1191.  
  1192.              When you start a DOS or character-mode application from Take
  1193.              Command/32 it is automatically run in this console session (to
  1194.              start a separate session for the application, use the START
  1195.              command).  The console window is automatically brought to the
  1196.              foreground when the application starts, and returned to the
  1197.              background when it exits.
  1198.  
  1199.              If you run a DOS or character-mode program which does not exit
  1200.              immediately (for example, a DOS word processor or editor) you
  1201.              will be able to work in the console session, and return
  1202.              automatically to Take Command when you exit the application.
  1203.  
  1204.              However if you run a DOS or character-mode application from
  1205.              Take Command and the application exits quickly, without
  1206.              waiting for any input (for example, a utility like PKUNZIP),
  1207.              you may have to use Alt-V to return to the console window and
  1208.              view the output.
  1209.  
  1210.  
  1211.         Take Command, 4DOS, and 4DOS for Windows NT
  1212.  
  1213.              If you're a 4DOS or 4DOS for Windows NT user, many of the
  1214.              features in Take Command will seem very familiar.  Because the
  1215.              underlying command processing in Take Command/32 is based on
  1216.              4DOS and 4DOS for Windows NT, you'll find the features of
  1217.              4DOS/NT are readily accessible.  All the commands and switches
  1218.              you've used in 4DOS/NT work the same way and have the same
  1219.              meaning in Take Command; the only exceptions are those that
  1220.              don't make sense outside a character-mode environment.
  1221.  
  1222.              Other 4DOS and 4DOS/NT features are included in Take Command
  1223.              as well --- you'll find support for command line editing,
  1224.              command and directory histories, aliases, .BTM files, and
  1225.              virtually all the other features you already know.
  1226.  
  1227.         -------------------------------------------------------------------
  1228.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  19
  1229.                                              CHAPTER 3 / Using Take Command
  1230.         -------------------------------------------------------------------
  1231.  
  1232.  
  1233.              Even if you've never used 4DOS, you'll notice plenty of
  1234.              familiar items in Take Command.  Like 4DOS, Take Command is
  1235.              compatible with the default Windows NT command processor
  1236.              (CMD.EXE), which you may have used from the "MS-DOS Prompt"
  1237.              icon, or at the DOS prompt when you aren't running Windows NT.
  1238.  
  1239.              There are also a few differences between running under 4DOS
  1240.              (or CMD.EXE) and running under Take Command.  The remainder of
  1241.              this section discusses minor differences in the way keystrokes
  1242.              are interpreted by 4DOS/NT and Take Command.  It also explains
  1243.              some things to look for when using 4DOS or 4DOS/NT batch files
  1244.              and aliases (and CMD.EXE batch files) under Take Command.
  1245.  
  1246.              In order to support the scrollback buffer, some Take
  1247.              Command/32 keystrokes are different from what you may be used
  1248.              to.  In particular, Take Command uses Ctrl-Up Arrow and Ctrl-
  1249.              Down Arrow (rather than Up Arrow and Down Arrow) to scroll
  1250.              through the command history at the prompt, Ctrl-PgUp (rather
  1251.              than PgUp) to open the history window, and F6 (rather than
  1252.              Ctrl-PgUp) to open the directory history window.  The arrow
  1253.              keys and PgUp and PgDn are then used to access the scrollback
  1254.              buffer.
  1255.  
  1256.              If you prefer to reverse this arrangement and use the arrow
  1257.              and PgUp keys to access the command history (as they are used
  1258.              in 4DOS/NT), and the Ctrl- keys to access the scrollback
  1259.              buffer, use the configuration dialogs (accessible from the
  1260.              Options menu) to set the Swap Scrolling Keys option.  See
  1261.              SwapScrollKeys (in the TCMD32.INI Configuration Directives in
  1262.              the online help) for additional details.
  1263.  
  1264.              Some command-line editing defaults have also been changed to
  1265.              conform more closely to Windows conventions.  In Take Command
  1266.              the default editing mode is insert, not overtype, and the
  1267.              default insert-mode cursor is a line, not a block.  You can
  1268.              change these defaults via the configuration dialogs or with
  1269.              statements in TCMD32.INI.
  1270.  
  1271.              For complete details on all of the features listed above, see
  1272.              the online help or your Reference Manual (Take Command for
  1273.              4DOS/NT Users in the online help provides links to detailed
  1274.              information on each of these topics).
  1275.  
  1276.  
  1277.              Using Your Batch Files and Aliases
  1278.  
  1279.              As a 4DOS or 4DOS/NT user, you may want to use your 4DOS batch
  1280.              files and aliases with Take Command.  Or, you may want to run
  1281.              batch files developed for CMD.EXE under Take Command.  In
  1282.              general you can run these batch files under Take Command ---
  1283.  
  1284.         -------------------------------------------------------------------
  1285.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  20
  1286.                                              CHAPTER 3 / Using Take Command
  1287.         -------------------------------------------------------------------
  1288.  
  1289.  
  1290.              but you need to understand how the batch files and aliases
  1291.              operate first.
  1292.  
  1293.              Take Command and 4DOS/NT aliases are separate and independent;
  1294.              Take Command does not automatically "inherit" aliases from a
  1295.              previously loaded copy of 4DOS/NT, and it cannot pass aliases
  1296.              on to a copy of 4DOS/NT started from the Take Command prompt.
  1297.              However, you can load aliases from your Take Command startup
  1298.              batch file (see page 13).  These can be the same aliases you
  1299.              use in 4DOS/NT, or a set that is just for Take Command.
  1300.  
  1301.              While many of your 4DOS/NT aliases will work well under Take
  1302.              Command, you'll probably want to create a separate set of Take
  1303.              Command aliases.  This will allow you to account for the
  1304.              differences in running DOS and character-mode applications,
  1305.              and to create new aliases that take advantage of Take Command
  1306.              features which are unavailable in 4DOS or 4DOS/NT.
  1307.  
  1308.              If you want to write aliases or batch files that are used in
  1309.              both Take Command and 4DOS/NT, but that behave differently in
  1310.              each environment, use the %_DOS variable to make the
  1311.              distinction.  For example, this batch file fragment uses the
  1312.              INPUT command to accept a string if it is run under 4DOS/NT,
  1313.              but uses the QUERYBOX dialog box if it is run under Take
  1314.              Command:
  1315.  
  1316.                   iff "%_dos" == "WIN32" then
  1317.                        querybox "Enter your name:  " %%name
  1318.                   else
  1319.                        input "Enter your name:  " %%name
  1320.                   endiff
  1321.  
  1322.              Aliases and batch files which simply manipulate files or use
  1323.              other internal commands should work with little or no change
  1324.              under Take Command.  However, as a general rule, you should
  1325.              test any batch file developed for 4DOS/NT or CMD.EXE before
  1326.              assuming it will do exactly what you want under Take Command.
  1327.              Pay particular attention to batch files which run complex
  1328.              sequences of external programs.
  1329.  
  1330.              If you use aliases or batch files to perform a sequence which
  1331.              mixes internal commands and DOS or character-mode
  1332.              applications, the sequence may not work the way you expect
  1333.              under Take Command.  For example, suppose you have an alias
  1334.              that changes the screen color, starts a DOS application, and
  1335.              then resets the color again.  Because the DOS application will
  1336.              be started in the console window (see page 18) the color
  1337.              changes will not affect it --- a contingency you probably
  1338.              didn't have to consider when you wrote the batch file.
  1339.  
  1340.  
  1341.         -------------------------------------------------------------------
  1342.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  21
  1343.                                              CHAPTER 3 / Using Take Command
  1344.         -------------------------------------------------------------------
  1345.  
  1346.  
  1347.              You may also find that you want to take advantage of some of
  1348.              the new features of Take Command to improve your batch files.
  1349.              For example, the START command offers additional flexibility
  1350.              in starting applications.  MSGBOX and QUERYBOX can be used to
  1351.              create dialog-box input prompts, and KEYSTACK and ACTIVATE
  1352.              will help control your Windows applications.
  1353.  
  1354.              Once you get used to these enhancements and minor differences
  1355.              you'll find that you can use Take Command to manage your
  1356.              system using the same techniques and features you already know
  1357.              from your experience with 4DOS, 4DOS/NT, or CMD.EXE.
  1358.  
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.         -------------------------------------------------------------------
  1399.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  22
  1400.                                                                       Index
  1401.         -------------------------------------------------------------------
  1402.  
  1403.  
  1404.         Index                               Console session, 18
  1405.  
  1406.                                             CTL3D, 7
  1407.  
  1408.         4DOS for Windows NT                 Customer Service, 4
  1409.             aliases, 20
  1410.             and Take Command, 16, 19
  1411.                 keystroke differences,      DDE, 18
  1412.                   20
  1413.             batch files, 20                 DOS applications, see
  1414.                                               Applications
  1415.  
  1416.         Aliases, 20                         Drag and Drop, 18
  1417.             enhancing, 22
  1418.  
  1419.         Applications                        File associations, 18
  1420.             character-mode, 16, 18
  1421.             DOS, 16, 18
  1422.             Windows, 18                     Help system, 3, 14
  1423.                                                 /? option, 15
  1424.  
  1425.         Batch files, 20
  1426.             and Windows, 17                 Icon, for Take Command, 11
  1427.             enhancing, 22
  1428.                                             .INI file, see TCMD32.INI
  1429.         Batch files, startup, 14
  1430.                                             Installation, 5
  1431.                                                 changes to your system, 6
  1432.         Clipboard, 17                           manual, 6
  1433.                                                 reversing, 8
  1434.         CMD.EXE
  1435.             and Take Command, 16, 19
  1436.             batch files, 20                 Keystrokes, in 4DOS and Take
  1437.                                               Command, 20
  1438.         Colors, of Take Command
  1439.           windows, 18
  1440.                                             Menus, 17
  1441.         Command history keystrokes, 20
  1442.                                             MS-DOS Prompt, see CMD.EXE
  1443.         Command-line editing, in 4DOS
  1444.           and Take Command, 20
  1445.                                             Options, see Startup Options
  1446.         Commands
  1447.             help on, 14
  1448.             reference information, 3        Program Manager
  1449.             Take Command startup, 12,           and Installation, 6
  1450.               14                                and uninstall, 8
  1451.                                                 groups and applications,
  1452.         Configuration, 8, 12                      17, 18
  1453.             dialogs, 12, 17                     Take Command items, 7, 10
  1454.  
  1455.         -------------------------------------------------------------------
  1456.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  23
  1457.                                                                       Index
  1458.         -------------------------------------------------------------------
  1459.  
  1460.  
  1461.  
  1462.  
  1463.         Quick help, 15                      Uninstalling Take Command, 8
  1464.  
  1465.  
  1466.         Reference information, 3            Windows NT, and Take Command,
  1467.                                               16, 17
  1468.         Reference Manual, 3
  1469.                                             Windows, Take Command, 10
  1470.  
  1471.         Scrollback buffer, 17
  1472.             keystrokes for, 20
  1473.  
  1474.         Starting DOS applications, see
  1475.           Applications
  1476.  
  1477.         Starting Take Command, 7, 10
  1478.  
  1479.         Startup
  1480.             commands, 10, 12, 14
  1481.             options, 10, 11
  1482.                 //iniline, 12
  1483.                 /C, 12
  1484.                 @inifile, 11
  1485.  
  1486.         Status bar, 17
  1487.  
  1488.         Support, 4
  1489.  
  1490.  
  1491.         Take Command
  1492.             and Windows, 16
  1493.             and Windows NT, 17
  1494.             Windows-related features,
  1495.               17
  1496.  
  1497.         TCEXIT, 11, 13
  1498.  
  1499.         TCMD32.INI, 8, 12
  1500.             directives, on startup
  1501.               command line, 12
  1502.             location of, 11
  1503.  
  1504.         TCSTART, 11, 13
  1505.             and startup command, 12
  1506.  
  1507.         Technical support, 4
  1508.  
  1509.         Tool bar, 17
  1510.  
  1511.  
  1512.         -------------------------------------------------------------------
  1513.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  24
  1514.